import functools

def myfunc(id,name,type):
	print('传入的参数Id：{}，Name：{}，Type：{}'.format(id,name,type))
#
myfunc(18,'qiaoansheng',1)
#输出：传入的参数Id：18，Name：qiaoansheng，Type：1
myfunc1 = functools.partial(myfunc,**{'type':1})

'''

partial(func, *args, **keywords) 
- new function with partial application of the given arguments and keywords.

'''
myfunc1(19,'qiaoas')


